/*
 * @Author: DUST
 * @Date: 2023-05-15 15:02:10
 * @LastEditors: DUST
 * @LastEditTime: 2023-05-15 15:30:38
 * @FilePath: \vite-project\src\config\index.ts
 * @Description: 
 * undefined
 */

import { Config } from "../interface";
import dev from "./dev";
import prod from "./prod";

const isProd = import.meta.env?.VITE_APP_MODE == "production";

const projectConfig: Config = {
  isProd,
  ...(isProd ? prod : dev)
}

export default projectConfig;
